package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.BookshelfPushLogDao;
import io.wdb.modules.generator.generator.entity.BookshelfPushLogEntity;
import io.wdb.modules.generator.generator.service.BookshelfPushLogService;



@Service("bookshelfPushLogService")
public class BookshelfPushLogServiceImpl implements BookshelfPushLogService {
	@Autowired
	private BookshelfPushLogDao bookshelfPushLogDao;
	
	@Override
	public BookshelfPushLogEntity queryObject(Long id){
		return bookshelfPushLogDao.queryObject(id);
	}
	
	@Override
	public List<BookshelfPushLogEntity> queryList(Map<String, Object> map){
		return bookshelfPushLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bookshelfPushLogDao.queryTotal(map);
	}
	
	@Override
	public void save(BookshelfPushLogEntity bookshelfPushLog){
		bookshelfPushLogDao.save(bookshelfPushLog);
	}
	
	@Override
	public void update(BookshelfPushLogEntity bookshelfPushLog){
		bookshelfPushLogDao.update(bookshelfPushLog);
	}
	
	@Override
	public void delete(Long id){
		bookshelfPushLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		bookshelfPushLogDao.deleteBatch(ids);
	}
	
}
